package io.gitee.yth.design.pattern.test.core.pattern.structural.facade.code.subsystem;

/**
 * @author yth
 * @since 2023-04-27-0:03
 */
public class DVDPlayer {

    private static final DVDPlayer instance = new DVDPlayer();

    public static DVDPlayer getInstance() {
        return instance;
    }

    private DVDPlayer() {
    }

    public void on() {
        System.out.println("DVDPlayer::on()");
    }

    public void off() {
        System.out.println("DVDPlayer::off()");
    }

    public void play() {
        System.out.println("DVDPlayer::play()");
    }

    public void pause() {
        System.out.println("DVDPlayer::pause()");
    }

}
